package retrofit;

import bean.MSGResult;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Url;
import rx.Observable;

/**
 * Created by chinalin on 2017/4/17.
 */
public interface RequestSerives {

//    @POST("")
//    @FormUrlEncoded
//    Call<MSGResult> getMsgResultCall(@Url String url, @Field("type") int type,
//                                     @Field("bootVer") int bootVer);
    @POST("")
    @FormUrlEncoded
    Observable<MSGResult<String>> getCheckVer(@Url String url, @Field("type") int type,
                                              @Field("version") int version);
}
